<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2018/5/10
  Time: 20:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%

    // 判断用户是否登录
    if( session.getAttribute("isLogin") == null){

        // 没有登录，跳转到login.jsp
        response.sendRedirect("login.jsp");

    }
%>
</body>
</html>
